package ooday04;
import java.util.Scanner;

import java.util.Timer;
import java.util.TimerTask;

public class TimerDemo {
    public static void main(String[] args) {
     Timer timer=new Timer();
        int interval=10000;
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                System.out.println("打屎你个龟孙");

            }
        },interval, interval);

        /*Timer timer=new Timer();
        int interval=1000;
        timer.schedule(new TimerTask(){
            public void run(){
                System.out.println("打屎你个龟孙");
            }
        },interval,interval);

    Timer timer=new Timer();
    int interval=1000;
    timer.schedule(new TimerTask() {
        @Override
        public void run() {
            System.out.println("打屎你个瘪犊子");
        }
    },interval,interval);*/

 Fish D=new Fish("","",15);
 Dog dog=new Dog("","",2);

Scanner Scan=new Scanner(System.in);
 double age=Scan.nextDouble();
 int dell=Scan.nextInt();

 Scanner scan=new Scanner(System.in);
 int ag=scan.nextInt();














    }
}
